package com.alinesno.cloud.base.workflow;

import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

import com.alinesno.cloud.common.core.auto.EnableDubboScan;
import com.alinesno.cloud.common.web.basic.auth.enable.EnableHttpBasicAuth;
import com.alinesno.cloud.common.web.basic.auth.enable.ScanPackage;

/**
 * 启动入口
 * @EnableSwagger2
 * @author WeiXiaoJin 
 * @since 2018-12-16 17:12:901
 */
@EnableJpaAuditing
@EnableDubboScan
@EnableHttpBasicAuth
@EntityScan({ScanPackage.BASIC_BACKENTITY , "com.alinesno.cloud.base.workflow.entity"})
@EnableJpaRepositories({ScanPackage.BASIC_BACKREPOSITORY , "com.alinesno.cloud.base.workflow.repository"})
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
public class BaseWorkflowApplication {

	public static void main(String[] args) {
		SpringApplication.run(BaseWorkflowApplication.class, args);
	}
	
}
